.TH std::counting_semaphore::~counting_semaphore 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::counting_semaphore::~counting_semaphore \- std::counting_semaphore::~counting_semaphore

.SH Synopsis
   ~counting_semaphore();  \fI(since C++20)\fP

   Destroys the counting_semaphore object.

   The behavior is undefined if any thread is concurrently calling any other member
   function on this semaphore. This includes threads blocked in acquire(),
   try_acquire_for(), or try_acquire_until().
